From: verdre Date: Tue, 29 Jan 2019 23:17:20 +0000 (+0100) Subject: overview: Remove unneeded check if primary monitor exists X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2^2~98 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5f4e2749a2923d990bb8848905583f51cfa1722a;p=gnome-shell.git overview: Remove unneeded check if primary monitor exists This check is no longer needed because we're using the stage size instead of the monitor size here. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/374 --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 602e190a7..ae60e1a24 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -387,9 +387,6 @@ var Overview = class { // when it is next shown. this.hide(); - if (!Main.layoutManager.primaryMonitor) - return; - this._coverPane.set_position(0, 0); this._coverPane.set_size(global.screen_width, global.screen_height);